<table border="1">
	<thead>
    	<tr>
        	<th colspan="2">Hi <?php if(isset($_SESSION['usn'])){echo $_SESSION['usn'];}  ?>!</th>
        </tr>
    </thead>
    <tbody>
    	<tr>
        	<th>
            	<a href="index.php?nav=ad&val=doimk">Change Pass</a>
            </th>
            <th>
            	<a href="index.php?nav=ad&val=doiem">Change Email</a>
            </th>
        </tr>
        <tr>
        	<th>
            	<a href="index.php?nav=ad&val=dangtin">Write News</a>
            </th>
            <th>
            	<a href="index.php?nav=ad&val=qltin">Manager News</a>
            </th>
        </tr>
        <tr>
        	<th colspan="2"><form action="index.php" method="post"><input name="logout"  type="submit" value="Logout"/></form></th>
        </tr>
    </tbody>
</table>
<?php
	if(isset($_GET['val'])){
		if($_GET['val']=='doimk'){
			include('../../../trangadmin/doimk.php');
		}elseif($_GET['val']=='doiem'){
			include('../../../trangadmin/doiemail.php');
		}elseif($_GET['val']=='dangtin'){
			include('../../../trangadmin/dangtin.php');
		}elseif($_GET['val']=='qltin'){
			include('qltin.php');
		}else{
			
		}
	}
?>